package com.gua.jbs.utility;

public class StringUtil {

	public static boolean isNullOrEmpty(String toCheckStr) {
		if (toCheckStr != null && !toCheckStr.equals(""))
			return true;
		else
			return false;
	}

	public static boolean checkEquality(String str1, String str2) {
		if (str1 != null && str2 != null) {
			if (str1.equals(str2))
				return true;
			else
				return false;
		} else
			// TO DO
			return false;
	}

}
